import Vue from 'vue'
import API from '../http/api'
import http from '../http/http.js'

// axios 拦截器
import '../http/axios'

// 对请求方式 进行全局注册
Vue.prototype.$http = http;
Vue.use(http)
Vue.prototype.$API = API
Vue.use(API)